.recommend {
  width: 100%;
  display: flex;
  flex-direction: column;

  .header {
    width: 95%;
    height: 180px;
    margin: 0 2%;
    position: relative;

    img {
      width: 100%;
      height: 180px;
    }

    .left-icon {
      position: absolute;
      top: 38%;
      left: 0.8%;
      font-size: 24px;
      color: #fff;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      text-align: center;
      line-height: 50px;
      background: rgba(0, 0, 0, 0.7);
      cursor: pointer;

      &:hover {
        background: #fff;
        color: #593cf6;
      }
    }

    .right-icon {
      position: absolute;
      top: 38%;
      right: 0.8%;
      font-size: 24px;
      color: #fff;
      width: 50px;
      height: 50px;
      border-radius: 50%;
      text-align: center;
      line-height: 50px;
      background: rgba(0, 0, 0, 0.7);
      cursor: pointer;

      &:hover {
        background: #fff;
        color: #593cf6;
      }
    }
  }

  .image-list {
    width: 95%;
    margin: 0 2%;
    flex: 1;
    display: flex;
    overflow-x: hidden;
    flex-direction: column;
    position: relative;

    .left-icon {
      position: absolute;
      top: 38%;
      left: 2%;
      font-size: 16px;
      color: #000;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      text-align: center;
      line-height: 30px;
      background: rgb(255, 255, 255);
      cursor: pointer;

      &:hover {
        background: rgba(23, 74, 184, 0.7);
        color: #fff;
      }
    }

    .right-icon {
      position: absolute;
      top: 38%;
      right: 0.8%;
      font-size: 16px;
      color: #000;
      width: 30px;
      height: 30px;
      border-radius: 50%;
      text-align: center;
      line-height: 30px;
      background: rgb(255, 255, 255);
      cursor: pointer;

      &:hover {
        background: rgba(23, 74, 184, 0.7);
        color: #fff;
      }
    }

    &-item {
      margin: 15px 0;
      display: flex;
      align-items: center;
      transition: transform 0.3s ease-in-out;

      .item-image {
        height: 80px;
        width: 20%;

        img {
          width: 163px;
          height: 100%;
          background: rgb(156, 155, 155);
          margin: 0 15px;
          border-radius: 20px;
          cursor: pointer;

          &:hover {
            transform: translateY(-2px);
            box-shadow: 0 0 3px 3px #e6e5e5;
          }
        }
      }
    }
  }

  .top {
    width: 95%;
    margin: 0 2%;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .tabs {
      display: flex;
      flex: 1;
      align-items: center;
      justify-content: flex-start;

      span {
        display: block;
        padding: 8px 20px;
        background: #f3f4f7;
        border-radius: 25px;
        margin: 0 10px;
        cursor: pointer;

        &.active {
          color: #593cf6;
        }
      }
    }
  }

  .bottom {
    width: 95%;
    margin: 0 2%;
    display: flex;

    .template {
      width: 200px;
      display: flex;
      flex-direction: column;

      .blank-creation {
        width: 160px;
        margin: 10px;
        height: 180px;
        border: 1px solid #ccc;
        display: flex;
        border-radius: 15px;
        cursor: pointer;
        flex-direction: column;
        align-items: center;
        justify-content: space-around;
        transition: transform 0.2s ease-in-out;
        .creation-icon{
          width: 50px;
          height: 50px;
          border-radius: 50%;
          background: #3431c5;
          text-align: center;
          line-height: 50px;
          font-size: 24px;
          color: #fff;
        }
        &:hover {
          transform: translateY(-2px);
          box-shadow: 0 0 3px 3px #e6e5e5;
        }
      }

      .calendar {
        width: 160px;
        display: flex;
        margin: 10px;
        cursor: pointer;
        flex-direction: column;
        transition: transform 0.2s ease-in-out;

        img {
          width: 100%;
          height: 80px;
          border-radius: 15px;

          &:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 3px 3px #e6e5e5;
          }
        }
      }
    }

    .page {
      flex: 1;
      z-index: 5;
      margin: 8px 0;
      display: flex;
      overflow-x: hidden;
      flex-direction: column;
      position: relative;

      .left-icon {
        position: absolute;
        top: 38%;
        left: 2%;
        font-size: 24px;
        color: #000;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        text-align: center;
        line-height: 50px;
        background: rgb(255, 255, 255);
        cursor: pointer;

        &:hover {
          background: rgba(23, 74, 184, 0.7);
          color: #fff;
        }
      }

      .right-icon {
        position: absolute;
        top: 38%;
        right: 0.8%;
        font-size: 24px;
        color: #000;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        text-align: center;
        line-height: 50px;
        background: rgb(255, 255, 255);
        cursor: pointer;

        &:hover {
          background: rgba(23, 74, 184, 0.7);
          color: #fff;
        }
      }

      &-item {
        display: flex;
        transition: transform 0.3s ease-in-out;

        .item-list {
          height: 280px;
          width: 190px;

          &:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 3px 3px #e6e5e5;
          }

          img {
            height: 100%;
            width: 180px;
            margin: 0 8px;
            border-radius: 20px;
            cursor: pointer;
          }
        }
      }
    }
  }
}

.ant-carousel .slick-dots li button {
  &:hover {
    background: #593cf6;
  }
}

